﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace INSTA.Concepts.Constructors
{
    public class Customer : Person
    {
        


        public Customer(string firstName)
            : this(firstName, string.Empty, 0)
        { }


        public Customer(string firstName, string lastName)
            : this(firstName, lastName, 0)
        { }


        public Customer(string firstName, string lastName, int yearOfBirth)
            : this(firstName, lastName , yearOfBirth, 0)
        {}

        public Customer(string firstName, string lastName, int yearOfBirth, int id)
            : base(firstName, lastName, yearOfBirth)
        {
            Id = id;

        }

        /// <summary>
        /// Gets or sets the identifier.
        /// </summary>
        public int Id { get; set; }
    }
}
